$(function () {
    /**
     * 页面加载执行民族
     */
    $.ajax({
        url: "../../DropDownBoxQuery/findNational",
        type: "post",
        dataType: "json",
        success: function (map) {
            var nationalList = map.nationalList;
            var national_select = document.getElementById("sel_national");
            //加载
            for (var i = 0; i < nationalList.length; i++) {
                var opt = document.createElement("option");
                opt.innerText = nationalList[i].nationalName;
                opt.setAttribute("value", nationalList[i].nationalId);
                national_select.appendChild(opt);
            }
        }
    });
})